package org.ccay.demo.student;

import java.util.Date;
import java.util.List;

import org.ccay.core.base.BaseResourceVO;
import org.ccay.demo.student.enumerable.HobbyEnum;
import org.ccay.enumerable.EnumItem;
import org.ccay.enumerable.popular.SexEnum;

/**
 * 测试--学生实体对象
 */
public class StudentVO extends BaseResourceVO {

	/**
	 * 序列化ID
	 */
	private static final long serialVersionUID = 6601803401480605315L;
	
	public StudentVO(){
		
	}
	
	/**
	 * 学生ID
	 */
	private Integer id;

	/**
	 * 学生姓名
	 */
	private String name;
	
	/**
	 * 学生性别
	 */
	private SexEnum sex;
	
	/**
	 * 学生年龄
	 */
	private Integer age;
	
	/**
	 * 学生身份证号码
	 */
	private String card;
	
	/**
	 * 爱好
	 */
	private EnumItem<HobbyEnum> hobby;
	
	
	/**
	 * 爱好
	 */
	private List<EnumItem<HobbyEnum>> hobbies;
	
	/**
	 * 学生出生日期
	 */
	private Date birthdayStart;
	private Date birthday;
	private Date birthdayEnd;

	/**
	 * 学生所在的省份
	 */
	private String province;
	
	/**
	 * 学生所在的城市 
	 */
	private String city;

	/**
	 * 学生居住地
	 */
	private String address;
	
	/**
	 * 学生联系电话
	 */
	private String phone;
	
	/**
	 * 学生电子邮箱
	 */
	private String mail;
	
	/**
	 * 学生个人博客
	 */
	private String blog;
	
	/**
	 * 学生年级
	 */
	private int grade;
	
	/**
	 * 学生班级
	 */
	private int classes;
	
	/**
	 * 学生学杂费
	 */
	private float tuition;
	
	/**
	 * 通过率
	 */
	private float pass;
	
	/**
	 * 备用字段
	 */
	private String attr1;
	private String attr2;
	private String attr3;
	private String attr4;
	private String attr5;
	private String country;
	private String companyCode;
	private String companyName;
	private String currency;
	private String areaCode;
	private String areaName;
	private String location;
	private String pbi;
	
	private String money;

	
	
	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}
	
	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getCurrency() {
		return currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getPbi() {
		return pbi;
	}

	public void setPbi(String pbi) {
		this.pbi = pbi;
	}

	public String getAttr1() {
		return attr1;
	}

	public void setAttr1(String attr1) {
		this.attr1 = attr1;
	}

	public String getAttr3() {
		return attr3;
	}

	public void setAttr3(String attr3) {
		this.attr3 = attr3;
	}

	public String getAttr4() {
		return attr4;
	}
	
	public String getAttr2() {
		return attr2;
	}

	public void setAttr2(String attr2) {
		this.attr2 = attr2;
	}
	
	public void setAttr4(String attr4) {
		this.attr4 = attr4;
	}

	public String getAttr5() {
		return attr5;
	}

	public void setAttr5(String attr5) {
		this.attr5 = attr5;
	}

	public int getGrade() {
		return grade;
	}

	public void setGrade(int grade) {
		this.grade = grade;
	}

	public int getClasses() {
		return classes;
	}

	public void setClasses(int classes) {
		this.classes = classes;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getCard() {
		return card;
	}

	public void setCard(String card) {
		this.card = card;
	}

	public Date getBirthdayStart() {
		return birthdayStart;
	}

	public void setBirthdayStart(Date birthdayStart) {
		this.birthdayStart = birthdayStart;
	}
	
	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	
	public Date getBirthdayEnd() {
		return birthdayEnd;
	}

	public void setBirthdayEnd(Date birthdayEnd) {
		this.birthdayEnd = birthdayEnd;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}
	
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public String getBlog() {
		return blog;
	}

	public void setBlog(String blog) {
		this.blog = blog;
	}

	public float getTuition() {
		return tuition;
	}

	public void setTuition(float tuition) {
		this.tuition = tuition;
	}
	
	public float getPass() {
		return pass;
	}

	public void setPass(float pass) {
		this.pass = pass;
	}

	public SexEnum getSex() {
		return sex;
	}

	public void setSex(SexEnum sex) {
		this.sex = sex;
	}

	public EnumItem<HobbyEnum> getHobby() {
		return hobby;
	}

	public void setHobby(EnumItem<HobbyEnum> hobby) {
		this.hobby = hobby;
	}

	public List<EnumItem<HobbyEnum>> getHobbies() {
		return hobbies;
	}

	public void setHobbies(List<EnumItem<HobbyEnum>> hobbies) {
		this.hobbies = hobbies;
	}

	@Override
	public String toString() {
		return "StudentVO [id=" + id + ", name=" + name + ", sex=" + sex + ", age=" + age + ", card=" + card
				+ ", hobby=" + hobby + ", hobbies=" + hobbies + ", birthdayStart=" + birthdayStart + ", birthday="
				+ birthday + ", birthdayEnd=" + birthdayEnd + ", province=" + province + ", city=" + city + ", address="
				+ address + ", phone=" + phone + ", mail=" + mail + ", blog=" + blog + ", grade=" + grade + ", classes="
				+ classes + ", tuition=" + tuition + ", pass=" + pass + ", attr1=" + attr1 + ", attr2=" + attr2
				+ ", attr3=" + attr3 + ", attr4=" + attr4 + ", attr5=" + attr5 + ", country=" + country
				+ ", companyCode=" + companyCode + ", companyName=" + companyName + ", currency=" + currency
				+ ", areaCode=" + areaCode + ", areaName=" + areaName + ", location=" + location + ", pbi=" + pbi
				+ ", money=" + money + "]";
	}
}
